package struct.decorator.example;

public class Execute {

    public static void main(String[] args) {

        Person person = new Person("小菜");
        System.out.println("第一种装扮");

        TShirts tShirts = new TShirts();
        Sneakers sneakers = new Sneakers();
        tShirts.decorate(person);
        sneakers.decorate(tShirts);

        sneakers.show();
    }
}
